import * as VueRouter from "vue-router";

const routes = [{
    path: '/',
    component: () => import('../views/Layout.vue'),
    children: [{
        name: 'home',
        path: '/home',
        component: () => import('../views/home.vue'),
    }]
}]

const router = VueRouter.createRouter({
    history: VueRouter.createWebHashHistory(), routes,
});

export default router;
